{template header}

<style>
    .hp-visited a:visited{color: #444;}
    .input-append button{font-size:12px;}
</style>
<div style="clear:both">
    <h5>
        <span class="add-on"><i class="icon-calendar"></i> 最近30天的客户端数据统计 </span>
    </h5>
</div>

<table class="table table-striped table-bordered table-hover">
    <thead>
        <tr>
            <th><center>日期</center></th>
            <th><center>新增</center></th>
            <th><center>补充新增</center></th>
            <th><center>新增总计</center></th>
            <th><center>日活</center></th>
            <th><center>补充日活</center></th>
            <th><center>日活总计</center></th>
        </tr>
    </thead>
    <tbody>
        {loop $total $v}
        <tr>
            <td><center>{$v['day']}</center></td>
            <td><center>{eval echo $v['other_add_android']+$v['other_add_ios']} <code style="color:#333">安卓-{$v['other_add_android']}</code> <code style="color:#333">iOS-{$v['other_add_ios']}</code></center></td>
            <td><center>{eval echo $v['kt_add_android']+$v['kt_add_ios']} <code style="color:#333">安卓-{$v['kt_add_android']}</code> <code style="color:#333">iOS-{$v['kt_add_ios']}</code></center></td>
            <td><center>{eval echo $v['other_add_android'] + $v['other_add_ios'] + $v['kt_add_android'] + $v['kt_add_ios']}</center></td>
            <td><center>{eval echo $v['other_active_android']+$v['other_active_ios']} <code style="color:#333">安卓-{$v['other_active_android']}</code> <code style="color:#333">iOS-{$v['other_active_ios']}</code></center></td>
            <td><center>{eval echo $v['kt_active_android']+$v['kt_active_ios']} <code style="color:#333">安卓-{$v['kt_active_android']}</code> <code style="color:#333">iOS-{$v['kt_active_ios']}</code></center></td>
            <td><center>{eval echo $v['other_active_android'] + $v['other_active_ios'] + $v['kt_active_android'] + $v['kt_active_ios']}</center></td>
        </tr>
        {/loop}
    </tbody>
</table>


{template footer}